package siac.com.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;



/**
 * The persistent class for the auth_perfil_menu database table.
 * 
 */
@Entity
@Table(name="auth_perfil_menu")
@NamedQueries({
		@NamedQuery(name = "AuthPerfilMenu.findAll", query = "SELECT e FROM AuthPerfilMenu e"),
		@NamedQuery(name = "AuthPerfilMenu.findById", query = "SELECT e FROM AuthPerfilMenu e WHERE e.id = :idTabela"),
		@NamedQuery(name = "AuthPerfilMenu.findByAccao", query = "SELECT e FROM AuthPerfilMenu e WHERE e.idAccao = :accao") })
public class AuthPerfilMenu implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private AuthPerfilMenuPK id;

	private Timestamp dataModific;

    @Temporal( TemporalType.TIMESTAMP)
	private Date dataRegisto;

	private int idAccao;

	private int opModific;

	private int opRegisto;

    public AuthPerfilMenu() {
    }

	public AuthPerfilMenuPK getId() {
		return this.id;
	}

	public void setId(AuthPerfilMenuPK id) {
		this.id = id;
	}
	
	public Timestamp getDataModific() {
		return this.dataModific;
	}

	public void setDataModific(Timestamp dataModific) {
		this.dataModific = dataModific;
	}

	public Date getDataRegisto() {
		return this.dataRegisto;
	}

	public void setDataRegisto(Date dataRegisto) {
		this.dataRegisto = dataRegisto;
	}

	public int getIdAccao() {
		return this.idAccao;
	}

	public void setIdAccao(int idAccao) {
		this.idAccao = idAccao;
	}

	public int getOpModific() {
		return this.opModific;
	}

	public void setOpModific(int opModific) {
		this.opModific = opModific;
	}

	public int getOpRegisto() {
		return this.opRegisto;
	}

	public void setOpRegisto(int opRegisto) {
		this.opRegisto = opRegisto;
	}

}